<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>背景颜色</title>
    <style>
        div {
            width: 400px;
            height: 400px;
            /* 背景颜色 */
            background-color: lightsteelblue;
            /* 插入图片 */
            background-image: url(../html_css_material-master/第四天/images/logo.png);
            /* 重复方式 */
            background-repeat: no-repeat;
            /* 图片位置 */
            /* background-position: left top; */
            /* background-position: right center; */
            /* 只写一个值,另外一个值默认垂直居中 */
            /* background-position: right; */
            background-position: 20px center;
        }
    </style>
</head>

<body>

</body>

</html>